﻿using System;

namespace Entities
{
    [Serializable]
    public class ChinhSachGiaHangHoa
    {
        private string hanhdong;
        private int chinhSachGiaHHID;
        private string maChinhSachGiaHH;
        private DateTime ngayLap;
        private DateTime ngaybatdau;
        private DateTime ngayketthuc;
        private bool trangthai;
        private string ghiChu;
        private string giaTriTrangThai;
        private bool deleted;
        private Entities.HangHoa[] hangHoa;
        private Entities.GoiHang[] goiHang;
        public Entities.HangHoa[] HangHoa
        {
            get { return hangHoa; }
            set { hangHoa = value; }
        }

        public Entities.GoiHang[] GoiHang
        {
            get { return goiHang; }
            set { goiHang = value; }
        }

        Entities.TaiKhoan taiKhoan;
        public Entities.TaiKhoan TaiKhoan
        {
            get { return this.taiKhoan; }
            set
            {
                this.taiKhoan = value;
            }
        }

        public ChinhSachGiaHangHoa()
        { }
        public ChinhSachGiaHangHoa(DateTime ngayLap, string hanhdong, int chinhSachGiaHHID, string maChinhSachGiaHH, DateTime ngaybatdau, DateTime ngayketthuc, bool trangthai, string ghiChu, bool deleted, string giaTriTrangThai,Entities.TaiKhoan taiKhoan)
        {
             this.ngayLap = ngayLap;
            this.hanhdong = hanhdong;
            this.chinhSachGiaHHID = chinhSachGiaHHID;
            this.maChinhSachGiaHH = maChinhSachGiaHH;
            this.ngaybatdau = ngaybatdau;
            this.ngayketthuc = ngayketthuc;
            this.trangthai = trangthai;
            this.ghiChu = ghiChu;
            this.deleted = deleted;
            this.giaTriTrangThai = giaTriTrangThai;
            this.taiKhoan = taiKhoan;
        }

        public string HanhDong
        {
            get { return this.hanhdong; }
            set
            {
                this.hanhdong = value;
            }
        }
        public int ChinhSachGiaHHID
        {
            get { return this.chinhSachGiaHHID; }
            set
            {
                this.chinhSachGiaHHID = value;
            }
        }
        public string MaChinhSachGiaHangHoa
        {
            get { return this.maChinhSachGiaHH; }
            set
            {
                this.maChinhSachGiaHH = value;
            }
        }
        public DateTime NgayLap
        {
            get { return this.ngayLap; }
            set { this.ngayLap = value; }
        }
        public DateTime NgayBatDau
        {
            get { return this.ngaybatdau; }
            set { this.ngaybatdau = value; }
        }
        public DateTime NgayKetThuc
        {
            get { return this.ngayketthuc; }
            set { this.ngayketthuc = value; }
        }
        public bool Trangthai
        {
            get { return this.trangthai; }
            set { this.trangthai = value; }
        }
        public string GhiChu
        {
            get { return this.ghiChu; }
            set { this.ghiChu = value; }
        }
        public bool Deleted
        {
            get { return this.deleted; }
            set { this.deleted = value; }
        }
        public string GiaTriTrangThai
        {
            get { return this.giaTriTrangThai; }
            set
            {
                this.giaTriTrangThai = value;
            }
        }
    }
}